<?php
$this->breadcrumbs = array(
    'Orders' => array('index'),
    $model->orderId,
);

$this->menu = array(
    array('label' => 'List Order', 'url' => array('index')),
    array('label' => 'Create Order', 'url' => array('create')),
    array('label' => 'Update Order', 'url' => array('update', 'id' => $model->orderId)),
    array('label' => 'Delete Order', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->orderId), 'confirm' => 'Are you sure you want to delete this item?')),
    array('label' => 'Manage Order', 'url' => array('admin')),
);
$this->headTitle = "View Order Details";
?>

<div class="widget">
    <div class="head">
        <h5 class="iFrames">Order <?php echo $model->orderId; ?></h5>
    </div>
    <div class="body">
        <?php
        $this->widget('zii.widgets.CDetailView', array(
            'data' => $model,
            'cssFile' => Yii::app()->baseUrl . Constant::CDETAILVIEW_CSS_URL,
            'attributes' => array(
                'orderId',
                'customerName',
                'customerEmail',
                'customerAddress',
                'customerPhone',
                'customerCity',
                'customerCountry',
                'createDate',
            ),
        ));
        echo Helper::renderCrudToolTrashIncluded("order", "orderId", $model->orderId, 0);
        ?>
    </div>
</div>